-- GENERATED SPELL FOR [Tirisfal Crusader] --


function spell0_29103(pUnit, Event) --@Arrow Assault,n/a--
pUnit:FullCastSpellOnTarget(53345,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29103', 500, 1)
end

function spell1_29103(pUnit, Event) --@Arrow Assault,n/a--
pUnit:FullCastSpellOnTarget(53348,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29103', 500, 1)
end

function Sorts_29103(pUnit, Event)
local choix_sorts_29103 = math.random(0, 1)
if choix_sorts_29103 == 0 then
pUnit:RegisterEvent('spell0_29103', 1, 1)
end
if choix_sorts_29103 == 1 then
pUnit:RegisterEvent('spell1_29103', 1, 1)
end
end

function mob29103_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29103', math.random(1500, 3000), 1)
end

function mob29103_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29103_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29103_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29103, 1, 'mob29103_Action')
RegisterUnitEvent(29103, 2, 'mob29103_Leave')
RegisterUnitEvent(29103, 3, 'mob29103_Kill')
RegisterUnitEvent(29103, 4, 'mob29103_Die')
